package org.py.mymodule.submodule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 阅读小组表
 * </p>
 *
 * @author author
 * @since 2025-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("astudent_group")
@ApiModel(value="AstudentGroup对象", description="阅读小组表")
public class AstudentGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小组ID")
    @TableId(value = "group_id", type = IdType.AUTO)
    private Integer groupId;

    @ApiModelProperty(value = "小组名称")
    @TableField("group_name")
    private String groupName;

    @ApiModelProperty(value = "小组id")
    @TableField("created_by_user_id")
    private Integer createdByUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("user_id")
    private Integer userId;


}
